import 'dart:convert';

import 'package:flutter/material.dart';
import 'category/LeftCatGeGory.dart';
import 'category/YCateGoodsList.dart';
import 'category/YRightCatGeGory.dart';

/*
 * Json to Dart :  https://javiercbk.github.io/json_to_dart/
 */

class CateGoryPage extends StatefulWidget {
  @override
  _CateGoryPage createState() => _CateGoryPage();
}

class _CateGoryPage extends State<CateGoryPage> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("商品分类"),
      ),
      body: Row(
        children: <Widget>[
          LeftCatGeGory(),
          Column(
            children: <Widget>[
              YRightCatGeGory(),
              YCateGoodsList()
            ],
          )
        ],
      ),
    );
  }

}
